package top.fyukina.fymil;

import org.dom4j.DocumentException;
import org.dom4j.io.SAXReader;
import top.fyukina.fymil.elements.Program;
import java.io.InputStream;

public class Loader {
    private static final SAXReader saxReader = new SAXReader();
    public static Program loadProgram(InputStream inputStream) throws DocumentException {
        return new Program(saxReader.read(inputStream), "test");
    }
}